package com.bkaka.controller;

import com.bkaka.bean.ResponseBean;
import com.bkaka.service.ExamTopicLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * Created by maxiaoqiang on 2018/7/17.
 */
@RestController
@RequestMapping(value = "${api.path}")
public class ExamTopicLevelController {

    @Autowired
    private ExamTopicLevelService service;


    @GetMapping(value = "/list")
    public ResponseBean findAll(){
        return service.findAll();
    }


}
